package com.wei.myhame.ui.activity;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.wei.myhame.MainActivity;
import com.wei.myhame.R;
import com.wei.myhame.base.BaseActivity;
import com.wei.myhame.base.interfaces.IPresenter;

public class RegisterParticularsActivity extends BaseActivity {

    //访客登记的详情

    ImageView fyimg;
    TextView texttopname,textPage;
    RelativeLayout relativeBackMain;
    Button buttonBack,btnLeft,btnRight;

    @Override
    protected int getLayout() {
        return R.layout.activity_register;
    }

    @Override
    protected IPresenter createPresenter() {
        return null;
    }

    @Override//接口的方法
    protected void initView() {

    }

    @Override//初始化数据的方法
    protected void initData() {
        fyimg=findViewById(R.id.fyimg);//法院图片
        texttopname=findViewById(R.id.texttopname);//法院顶部名称
        relativeBackMain=findViewById(R.id.relativeBackMain);//返回首页
        buttonBack=findViewById(R.id.buttonBack);//返回
        textPage=findViewById(R.id.textPage);//页数
        btnLeft=findViewById(R.id.btnLeft);//左
        btnRight=findViewById(R.id.btnRight);//右
        //返回首页点击事件
        relativeBackMain.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(RegisterParticularsActivity.this, MainActivity.class);
                startActivity(intent);
                finish();
            }
        });
        //返回按钮的点击事件


    }
}
